package umage.antlr;

import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

public class MethodUnit extends JavaUnit {
	
	protected String returnType;
	protected List<FieldUnit> parameters = new LinkedList<FieldUnit>();
	
	protected MethodUnit() {}
	
	public String getReturnType() {
		return returnType;
	}
	
	public List<FieldUnit> getParameters() {
		return Collections.unmodifiableList(parameters);
	}
	
}
